package com.htu.courseService.picture.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.htu.courseService.picture.vo.FamousTeacherDto;
import com.htu.courseService.user.vo.UserDTO;
import jakarta.servlet.http.HttpServletResponse;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

public interface FamousTeacherService {

    void addFamousTeacherInfo(FamousTeacherDto famousTeacherDto);

    void deleteFamousTeacher(Integer id);

    List<UserDTO> getTeacherInfo(String username);

    FamousTeacherDto addPhoto(MultipartFile file);

    void previewFile(HttpServletResponse response, String fileUrl);

    IPage<FamousTeacherDto> getFamousTeacherList(int pageNum, int pageSize);
}
